package com.hx.study.vote.domain;

import com.hx.common.annotation.Excel;
import com.hx.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投票对象 stu_vote
 * 
 * @author twj
 * @date 2023-05-26
 */
public class Vote extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 投票ID */
    private Integer id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 名字 */
    @Excel(name = "名字")
    private String voteName;

    /** 票数 */
    @Excel(name = "票数")
    private Integer tickets;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String image;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 类型详情 */
    @Excel(name = "类型详情")
    private String typeDetail;

    private Integer votesId;

    public Integer getVotesId() {
        return votesId;
    }

    public void setVotesId(Integer votesId) {
        this.votesId = votesId;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setVoteName(String voteName) 
    {
        this.voteName = voteName;
    }

    public String getVoteName() 
    {
        return voteName;
    }
    public void setTickets(Integer tickets) 
    {
        this.tickets = tickets;
    }

    public Integer getTickets() 
    {
        return tickets;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setTypeDetail(String typeDetail) 
    {
        this.typeDetail = typeDetail;
    }

    public String getTypeDetail() 
    {
        return typeDetail;
    }

    @Override
    public String toString() {
        return "Vote{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", voteName='" + voteName + '\'' +
                ", tickets=" + tickets +
                ", image='" + image + '\'' +
                ", type=" + type +
                ", typeDetail='" + typeDetail + '\'' +
                ", votesId=" + votesId +
                '}';
    }
}
